package com.medical.app.service;

import com.medical.app.entity.User;
import java.util.Optional;

public interface UserService {
    User register(User user);
    Optional<User> login(String username, String password);
    Optional<User> findById(Long id);
    Optional<User> findByUsername(String username);
}